package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ReturnGoods {
    private Long id;

    private String sn;

    private Supplier supplier;

    private BigDecimal costPrice;

    private BigDecimal number;

    private BigDecimal amountPrice;

    private BigDecimal receipts;

    private Long billId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date inputTime;
    private Product product;





}